/**
*
* 用于顶部工具栏的TAB样式
* @author 吴博维
*
*/

/*上右下左*/

.tab-pane {
    -fx-border-width: 0 0 1px 0;
    -fx-border-style: solid;
    -fx-border-color: #d5d5d5;
}

.tab {
    -fx-background-radius: 5px;
    -fx-border-width: 0 0 2px 0;
    -fx-background-color: #F4F4F4;
    -fx-padding: 0px 10px 0 10px;
}

.tab-header-area .tab-header-background  {
    -fx-background-color: #F4F4F4;
}

.tab-header-area {
    -fx-padding: 10 10 10 10 ;

}


.tab-label {
    -fx-border-width: 0 0 3px 0;
    -fx-padding: 3px 3px 3px 3px;
    -fx-background-radius: 5px;
    -fx-font-size: 14px;
    -fx-background-color: #F4F4F4;
}

.tab-label:hover {
    -fx-background-color: #e6e6e6;
}

.tab:selected .tab-label {
    -fx-border-color: orange;
    -fx-font-size: 15px;
}

.tab-header-area {
    -fx-background-color: none;
}

/*tab选中的边框是由focus-indicator(聚焦指示器)控制的*/
.tab:selected .focus-indicator {
    -fx-border-width: 0 0 0 0 ;
}


.tab-content {
    -fx-background-color: #F4F4F4;
}

.right {
    -fx-background-color: white;
}


/**
菜单部分
 */
.menu-button-group {
    -fx-border-color: white;
    -fx-border-width: 1 1 1 1;
    -fx-background-color: #ffffff;
    /*保持border-radius与background-radius的一致*/
    -fx-border-radius: 10px;
    -fx-background-radius: 10px;
    -fx-effect: dropshadow(three-pass-box, #cbcbcb,5,0, 0, 0) ;
    -fx-padding: 3px 5px 3px 5px;
}

.menu-button-block {
    /*-fx-border-width: 0 1px 0 0;*/
    /*-fx-border-color: #e6e6e6;*/
    -fx-padding: 5px 5px 5px 5px;
    -fx-background-radius: 10px;
}

.menu-button-block:hover {
    -fx-background-color: #f2f2f2;
}

.menu:hover, .menu:showing{
    -fx-background-color: none;
}

.menu-button-label {
    -fx-text-alignment: center;
}
/*下拉菜单*/
.custom-menu-item {
    -fx-background-radius: 5px;
}
.custom-menu-item:hover {
    -fx-background-color: none;
}
.menu-item {
    -fx-background-color: white;
    -fx-border-radius: 5px;
}
/*下拉菜单的背景框*/
.menu-bar .context-menu {
    -fx-background-color: white;
    -fx-background-radius: 10px;
    -fx-padding: 15px 0 15px 0;
    -fx-background-insets: 10px 0 10px 0 ;
    -fx-effect: dropshadow(three-pass-box, #cbcbcb,5,0,0,0);
}


/**
滚动条样式
 */

.scroll-bar {
    -fx-background-color: none;
    -fx-max-height: 10px;
}

.scroll-bar .thumb {
    -fx-background-color: #dadada;
    -fx-opacity: 1;
    -fx-background-insets: 4px 0px 4px 0px;
}

.scroll-bar:vertical .thumb {
    -fx-background-insets: 0px 5px 0px 5px;
}

.scroll-bar .increment-button{
    visibility: false;
}

.scroll-bar .decrement-button{
    visibility: false;
}

.scroll-bar .increment-button .increment-arrow{
    visibility: false;
}

.scroll-bar .decrement-button .decrement-arrow{
    visibility: false;
}

/**
输入框
 */
.text-field {
    -fx-border-color: #e6e6e6;
    -fx-border-radius: 5px;
    -fx-background-color: white;
}

.text-field:focused {
    -fx-effect: dropshadow(three-pass-box, #ffb601,3,0, 0, 0) ;
    -fx-border-color: white;
}

.text-area {
    -fx-border-color: #e6e6e6;
    -fx-border-radius: 5px;
    -fx-background-color: white;
}

.text-area:focused {
    -fx-effect: dropshadow(three-pass-box, #ffb601,3,0, 0, 0) ;
    -fx-border-color: white;
}

.text-area .content {
    -fx-background-color: white;
}

/**
Slider
 */
.slider .thumb{
    -fx-background-color: white;
    -fx-effect: dropshadow(three-pass-box, #ffb601,3,0, 0, 0) ;
}

.slider .track {
    -fx-background-color: orange;
}

/*
思维导图样式
*/
.right .text-field {
    -fx-background-color: none;
    -fx-border-color: none;
    -fx-border-width: 0 0 0 0;
    -fx-font-size: 16px;
}
.right .text-field:focused {
    -fx-effect: none;
}
.right .text-field:hover {
    -fx-border-color: black;
    -fx-border-width: 1 1 1 1;
}

/**
颜色选择器
 */
.color-picker {
    -fx-background-color: none;
    -fx-color-label-visible: false;
    -fx-color-rect-width: 50px;
}
.color-picker .arrow-button {
    visibility: false;
    management: false;
    -fx-max-height: 0;
    -fx-min-height: 0;
}
.color-picker .arrow {
    visibility: false;
    -fx-max-height: 0;
    -fx-min-height: 0;
}
.color-palette {
    -fx-background-color: #fafafa;
    -fx-border-width: 1px 1px 1px 1px;
    -fx-border-color: #ffcf17;
    -fx-border-radius: 10px;
    -fx-background-radius: 10px;
    -fx-color: orange;
    -fx-effect: none;
}

.color-palette .hyperlink{
    -fx-text-fill: #1e1e1e;
}

.color-palette .separator .line{
    -fx-border-color: orange;
}

.background-color-picker{
    -fx-color-rect-width: 20px;
    -fx-color-rect-height: 20px;
}

.color-square {
    -fx-border-width: 0 0 0 0;
    -fx-background-color: none;
    -fx-effect: none;
}

/*Pane*/
.tree-view {
    -fx-background-color: white;
    -fx-border-width: 0px 0px 0px 1px;
    -fx-effect: dropshadow(three-pass-box, #cbcbcb,5,0, 0, 0) ;
}

.tree-view .tree-cell:selected {
    -fx-background-color: none;
    -fx-border-width: 0;
}

.tree-cell .tree-disclosure-node {
    -fx-fill: orange;
}

.tree-cell:focused {
    -fx-text-fill: black;
}

.tree-cell:filled {
    -fx-border-width: 0;
}

.tree-cell.tree-disclosure-node.arrow {
    -fx-background-color: orange;
    -fx-padding: 0.333333em; /* 4 */
    -fx-shape: "M 0 -4 L 8 0 L 0 4 z";
}

.tree-cell:expanded.tree-disclosure-node.arrow {
    -fx-rotate: 90;
    -fx-background-color: orange;
}

.tree-cell:filled:hover .tree-disclosure-node .arrow {
    -fx-background-color: orange;
}

.tree-cell:filled:selected .tree-disclosure-node .arrow {
    -fx-background-color: orange;
}

.tree-cell:filled .tree-disclosure-node .arrow {
    -fx-background-color: orange;
}

.tree-cell:filled:selected:hover .tree-disclosure-node .arrow {
    -fx-background-color: orange;
}

/*.main {*/
/*    -fx-border-color: #e6e6e6;*/
/*    -fx-border-radius: 5px;*/
/*}*/

.main > .viewport{
    -fx-background-color: #f7eed6;
}

.main {
    -fx-background-color: #f7eed6;
    -fx-border-width: 0;
}


.main:focused {
    -fx-border-color: #f7eed6;
    -fx-background-color: #f7eed6;
}

.background-color-label:visited {
    -fx-text-fill: black;
}

.background-color-label:focused {
    -fx-text-fill: black;
}

/*Combo*/
.combo-box {
    -fx-background-color: white;
    -fx-border-color: #e6e6e6;
    -fx-border-width: 1;
    -fx-border-radius: 5px;
}

.combo-box .arrow {
    -fx-fill: orange;
}

.combo-box .combo-box-popup .list-view .list-cell:focused {
    -fx-background-color: rgba(255, 165, 0, 0.75);
}

.combo-box .combo-box-popup .list-view .list-cell:hover {
    -fx-background-color: rgb(255, 197, 116);
}

.combo-box .combo-box-popup .list-view .list-cell:hover {
    -fx-text-fill: #604000;
}

.combo-box .combo-box-popup .list-view .list-cell:selected {
    -fx-background-color: rgba(255, 165, 0, 0.76);
}

.combo-box .combo-box-popup .list-view{
    -fx-background-radius: 8px;
    -fx-border-radius: 8px;
    -fx-border-color: orange;
}

.combo-box .combo-box-popup .list-view .list-cell {
    -fx-border-radius: 8px;
    -fx-background-radius: 8px;
}